package com.dao.base;

import java.io.Serializable;
import java.util.List;


public interface BaseDao<T, PK extends Serializable> {

	public T get(PK id);
	
	public List<T> find(String query);

	public List<T> find(String query, Object... params);
	
	public void save(T e);

	public void update(T e);
	
	public void delete(PK id);

	public void delete(T e);
	
}
